updating oE new_time
new_time
include datetime.e -- (default namespace is datetime) public function new_time(integer hour, integer minute, atom second)
Creates a new datetime value with a date of zeros.
Parameters:
- hour : is the hour (0-23)
- minute : is the minute (0-59)
- second : is the second (0-59)
Example 1:
include std/datetime.e datetime dt = new_time(10, 30, 55) -- i.e. 10:30:55 AM ? dt
Results:
{0,0,0,10,30,55}
See Also:
Not Categorized, Please Help
|